//
// LineResponse.hh for caziac in /media/CIBOX USB/Zia/api
// 
// Made by johannick renaud
// Login   <renaud_j@epitech.net>
// 
// Started on  Mon Sep  5 00:36:11 2011 johannick renaud
// Last update Tue Sep 13 23:47:49 2011 johannick renaud
//

#ifndef			LINERESPONSE_HH
# define		LINERESPONSE_HH

/**
 *	\file		LineResponse.hh
 *	\date		Mon Sep  5 2011
 *	\author		RENAUD J.
 *	\version	1.0
 */

#include		<string>

#include		"Status.hh"

namespace		Caziac
{
  namespace		Http
  {

    /**
     *	\class		LineResponse
     *	\brief		class for the first line of an HttpResponse
     */

    struct		LineResponse
    {
      std::string	version;	///< Http version : default "HTTP/1.1"
      Status		status;		///< Http Status code
      
      LineResponse(std::string const&v, Status const& s) : version(v), status(s){}
    };
  }
}

#endif
